package com.xian.minespring.annotation;


import java.lang.annotation.*;

/**
 * @author zhan
 * @version 2024/1/2
 */
@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Bean {

    /**
     * Bean name. default to method name.
     */
    String value() default "";

    String initMethod() default "";

    String destroyMethod() default "";

}
